package com.tender.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.tender.utils.CustomDateDeserializerUtil;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class VehicleTrajectoryCondition {

    @Schema(description = "车牌号")
    private String carNo;

    @Schema(description = "车辆颜色")
    // 车牌颜色(1 蓝色、2 黄色、3 黄绿色)
    private String carColor;

    @Schema(description = "开始时间") // yyyy-MM-dd HH:mm:ss
    @JsonDeserialize(using = CustomDateDeserializerUtil.class)
    private String startTime;

    @Schema(description = "结束时间") // yyyy-MM-dd HH:mm:ss
    @JsonDeserialize(using = CustomDateDeserializerUtil.class)
    // ，与开始时间相差 72 小时之内
    private String endTime;

}
